home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex / base / yandytex.txt < prev   
Text File  |  1994-12-17  |  13KB  |  298 lines

  1.              LaTeX installation instructions for Y&YTeX v1.1 
  2.  
  3.                              1994 August 20
  4.  
  5. SUMMARY 
  6. ======= 
  7.  
  8. This file contains instructions for installing LaTeX2e for Y&YTeX v1.1 
  9. (either from DVIWindo's `TeX Menu' or from the DOS prompt).
  10.  
  11. Before reading this file, you should obtain the LaTeX2e distribution
  12. ---  from your nearest CTAN archive or on diskette from Y&Y, Inc. --
  13. and read `install.txt', which explains how the LaTeX2e installation works. 
  14.  
  15. This file describes: 
  16.  
  17.  * How to save any old version of LaTeX. 
  18.  
  19.  * How to configure LaTeX. 
  20.  
  21.  * How to unpack the LaTeX distribution. 
  22.  
  23.  * How to create the LaTeX format. 
  24.  
  25.  * How to install the LaTeX files. 
  26.  
  27.  * How to check the LaTeX installation. 
  28.  
  29.  * What to do if you have any problems. 
  30.  
  31. NOTE:   If you get the LaTeX2e diskette from Y&Y, Inc., then installation
  32.         is particularly easy, since ready-made `format' files are included,
  33.         and all the files are already unpacked.  You can save time and
  34.         effort by using the installation procedure on the diskette.  
  35.         Please refer to the `readme.txt' file on that diskette for details.
  36.  
  37. SAVING ANY OLD VERSION OF LATEX 
  38. =============================== 
  39.  
  40. The installation instructions below for LaTeX2e are designed to *preserve*
  41. your existing LaTeX 2.09 files.  That way you can drop back to LaTeX 2.09
  42. in the unlikely event that some problem should crop up.  After a while,
  43. when you are certain that everything is working to your satisfaction, 
  44. you can delete the old files to free up some disk space (see below).
  45.  
  46. The format file for LaTeX 2.09 is called `lplain.fmt' in the `fmt'
  47. sub-directory of your `y&ytex' directory --- typically `c:\y&ytex\fmt' 
  48. (or wherever the environment variable TEXFORMATS points to).  This format 
  49. file will not be disturbed by the installation of LaTeX2e since the new 
  50. format file is called `latex.fmt'.
  51.  
  52. The style files for LaTeX 2.09 are in the `latex' sub-directory of your
  53. `y&ytex' directory --- typically `c:\y&ytex\latex' (one of the directories
  54. that the environment variable TEXINPUTS points to).  This directory will 
  55. not be disturbed by the installation of LaTeX2e --- the new files go in the 
  56. `latex2e' sub-directory instead.
  57.  
  58. Do the following if you want to be able to switch easily between LaTeX 2.09
  59. and LaTeX2e.  Set the TEXINPUTS environment variable so the directory
  60. with the LaTeX 2.09 files is listed *before* the directory with the new
  61. LaTeX2e files.  For example:
  62.  
  63.         TEXINPUTS=c:\texinput;c:\y&ytex\latex;c:\y&ytex\latex2e
  64.  
  65. Then you can call LaTeX2.09 with the old `latex.bat' batch file (which
  66. uses `&lplain' on the TeX command line), and you can call LaTeX2e
  67. using  the new `latex2e.bat' batch file (which uses `&latex' on the TeX
  68. command line).  DVIWindo's `TeX Menu' will list *both* the old `LaTeX'
  69. (i.e. LaTeX 2.09) and the new `LaTeX 2e' formats. 
  70.  
  71. Once you decide that you no longer need LaTeX 2.09, you can save a
  72. bit of disk space.  Do the following:
  73.  
  74. (i)   delete `lplain.*' from the `fmt' sub-directory of the `y&ytex' directory;
  75. (ii)  delete  all files in the `latex' sub-directory of the `y&ytex' directory;
  76. (iii) remove the `LaTeX' entry in DVIWindo's `TeX Menu';
  77. (iv)  delete the `latex.bat' batch file from your batch file directory.
  78.  
  79. CONFIGURING LATEX 
  80. ================= 
  81.  
  82. NOTE: You can pretty much ignore the rest of this file if you use the ready-
  83.       made format files on the diskette from Y&Y!  Otherwise read on.
  84.  
  85. First of all, to run the installation procedure you need to set the TEXINPUTS
  86. environment variable to include the directory with the LaTeX 2e source files---
  87. or make it the current directory.  If you use the recommended directory you
  88. can just set: 
  89.  
  90.         TEXINPUTS=c:\y&ytex\latex2e
  91.  
  92. After running the installation procedure you need to add the `latex2e'
  93. subdirectory of the `y&ytex' directory to the directory list in the
  94. TEXINPUTS environment variable.  If you want to be able to switch easily
  95. between the old LaTeX 2.09 and LaTeX2e, then add the `latex2e' directory
  96. *after* the `latex' directory.  For example:
  97.  
  98.         TEXINPUTS=c:\texinputs;c:\y&ytex\latex;c:\y&ytex\latex2e
  99.  
  100. If you will *only* be using the new LaTeX2e, you can, of course, omit the
  101. reference to the `latex' subdirectory.  
  102.  
  103. NOTE: If you have a recent version of the Y&Y TeX system, then the
  104.       environment variables are defined in the [Environment] section of
  105.       `dviwindo.ini'. With an older system you insert code to set the
  106.       environment variables in  your `autoexec.bat' file --- this takes
  107.       effect when you next reboot. 
  108.  
  109. You can run LaTeX2e from DVIWindo's `TeX Menu' --- by selecting `LaTeX 2e'
  110. --- or direct from DOS.  In the latter case you can just use the existing
  111. `tex.bat' batch file:
  112.  
  113.         tex &latex <source-file>
  114.  
  115. Or you may find it convenient to create a new `latex2e.bat' batch file.
  116. To do this, just copy `latex.bat', and replace `&lplain' with `&latex'.
  117.  
  118. While LaTeX2e requires more TeX memory than LaTeX 2.09, there is no need
  119. to do anything, since Y&YTeX's dynamic memory allocation automatically
  120. only uses as much memory as is needed.
  121.  
  122. UNPACKING THE DISTRIBUTION 
  123. ========================== 
  124.  
  125. NOTE: If you get the LaTeX 2e diskette from Y&Y, you won't need to `unpack'
  126.       the files. But if you do not have the unpacked distribution, read on.  
  127.       You have the `unpacked' distribution if you have the file `latex.ltx'.
  128.  
  129. Create a directory on your hard disk for the LaTeX2e source files 
  130. (Don't mix them up with other files, since you may want to delete some
  131. again after installation in order to conserve disk space).  For example:
  132.  
  133.         mkdir c:\y&ytex\latex2e
  134.  
  135. Get the latest version of the distribution off your nearest CTAN site by
  136. anonymous FTP (Or run the installation batch file on the LaTeX2e 
  137. distribution diskette to unzip the files into this directory).
  138.  
  139. Create an empty temporary directory (on a drive with at least a Megabyte of
  140. free space).  Make that the current directory.  Next, set the environment
  141. variable TEXINPUTS to include the directory with the new LaTeX2e source
  142. files.  For example:
  143.  
  144.         TEXINPUTS=c:\y&ytex\latex2e
  145.  
  146. You will also need to supply a file with hyphenation patterns.  You can
  147. do this either by copying the standard `hyphen.tex' file for English ---
  148. or a hyphenation pattern file for another language --- to the current
  149. directory, or by adding a directory (s.a. c:\y&ytex\latex) which contains
  150. `hyphen.tex' to the list of directories in the TEXINPUTS environment variable.
  151.  
  152. Also make sure the environment variable TEXFORMATS points to the
  153. `fmt' sub-directory of your `y&ytex' directory.  For example:
  154.  
  155.         TEXFORMATS=c:\y&ytex\fmt
  156.  
  157. You can create new TeX formats (i) directly from the `TeX Menu' in DVIWindo,
  158. (ii) using the `initex.bat' batch file, or (iii) `manually' from the DOS
  159. command line.  If you work from the `TeX Menu' or use the `initex.bat' batch
  160. file, then most of the details of LaTeX2e format creation are automatically
  161. taken care off.  In fact, the two steps "Unpacking the Distribution" and
  162. "Creating the LaTeX format" are then combined into *one* operation, and you
  163. need not deal with all the details.
  164.  
  165. For example, if you run ini-TeX from the `TeX menu' in DVIWindo, just enter
  166. `LaTeX 2e' for `Format Name' and enter `latex' for `Format Source File' if
  167. you are installing the final release of LaTeX2e.  The `initex.bat' batch
  168. file which is called will take care of running ini-TeX *twice* --- once on
  169. `unpack.ins', then on `latex.ltx' (or `unpack2e.ins' and `latex2e.ltx' in the
  170. beta release version).  It will also copy the finished `format' file to the
  171. `fmt' sub-directory of your `y&ytex' directory, and create a `LaTeX 2e' entry
  172. in the `TeX Menu'
  173.  
  174. *       And that is all there is to it!  
  175.  
  176. If you instead want to unpack the files `manually' from the DOS prompt,
  177. run ini-TeX on the file `unpack.ins'.  Using the `tex.bat' batch file:
  178.  
  179.                 tex -i unpack.ins
  180.  
  181. or call Y&YTeX directly:  c:\y&ytex\y&ytex -i unpack.ins  
  182.  
  183. This may take some time --- on an old 486 it may take as long as 4--5 minutes.
  184. You can speed the process up somewhat by choosing a temporary directory on a
  185. RAM drive rather than a hard disk (and avoid reading the source files
  186. directly from a diskette by copying them to a hard disk first).
  187.  
  188.  
  189. CREATING THE LATEX FORMAT 
  190. ========================= 
  191.  
  192. NOTE: If you called ini-TeX form the `TeX Menu' in DVIWindo, then the format
  193.       has already been created and saved, so nothing else need be done!  
  194.       Read on if you instead unpacked the files `manually'. 
  195.  
  196. Running ini-TeX on the file `unpack.ins' creates a large number of files,
  197. including `latex.ltx' (You also need to supply `hyphen.tex' with
  198. hyphenation patterns --- see previous section).  To create the new LaTeX2e
  199. format, now run ini-TeX on `latex.ltx'.  You can use the batch file
  200. `tex.bat' again:
  201.  
  202.         tex -i latex.ltx
  203.  
  204. or call Y&YTeX directly:  c:\y&ytex\y&ytex -i latex.ltx  
  205.  
  206. The resulting format file, `latex.fmt' should be copied to the
  207. `fmt' sub-directory of your `y&ytex' directory.  For example,
  208.  
  209.         copy latex.fmt c:\y&ytex\fmt
  210.  
  211. You may also wish to copy `latex.log' to the `fmt' directory.
  212.  
  213. PUTTING THE FILES WHERE LATEX CAN READ THEM 
  214. =========================================== 
  215.  
  216. You also need to move the files created when ini-TeX ran on `undump.ins'
  217. to a permanent home where TeX can find them.  Create a `latex2e'
  218. sub-directory of your `y&ytex' directory.  For example:
  219.  
  220.         mkdir c:\y&ytex\latex2e
  221.  
  222. Then copy all of the files from the temporary directory to that new
  223. directory.  For example:
  224.  
  225.         copy *.* c:\y&ytex\latex2e
  226.  
  227. Then add this directory to the list of directories in TEXINPUTS. For example:
  228.  
  229.         TEXINPUTS=c:\texinput;c:\y&ytex\latex;c:\y&ytex\latex2e
  230.  
  231. You have now installed LaTeX 2e! 
  232.  
  233. CHECKING THAT THE INSTALLATION WORKED 
  234. ===================================== 
  235.  
  236. To check that the installation worked, run the new LaTeX2e on the file
  237. `ltxcheck.tex'.  You can do this from DVIWindo's `TeX Menu' or from the 
  238. DOS prompt.  
  239.  
  240. In the `TeX Menu' simply select `LaTeX 2e' and in the `Open File' dialog
  241. navigate to `c:\y&ytex\latex2e\ltxcheck.tex' (or wherever you placed your
  242. LaTeX2e source files).  Or, run Y&YTeX directly using `tex.bat':
  243.  
  244.         tex &latex ltxcheck
  245.  
  246. It is highly recommended that you run this test before going on!
  247. The test file will check some basic features of your TeX setup and 
  248. either say they are OK or complain and say they are BAD.
  249.  
  250. After this, you may also wish to process `usrguide.tex' and print the
  251. result, unless you have already done so (and perhaps `fntguide.tex').
  252.  
  253. PROBLEMS 
  254. ======== 
  255.  
  256. If you have an older Y&Y TeX Package, then it will be set up for the
  257. beta release file names.  In particular, the older batch file `initex.bat'
  258. refers to `unpack2e.ins' and `latex2e.ltx' in the two calls to ini-TeX.  
  259. If you have the final release of LaTeX2e, then change these references to
  260. `unpack.ins' and `latex.ltx'. And if your files are really old (1993 Dec) 
  261. and still refers to `latex2e.ins' then please change that to `unpack.ins'...  
  262.  
  263. If you have other problems with the LaTeX installation, see the 
  264. `PROBLEMS' section in `install.txt'. 
  265.  
  266. If `ltxcheck' produces a `BAD' message, you will typically be able to
  267. figure out from the message what is wrong.  For example, you may not
  268. have the environment variable TEXINPUTS set up to include the new
  269. LaTeX2e files.  If it is not obvious what caused the `BAD' message,
  270. then please consult the section on `ltxcheck' in `texpert.txt'. 
  271.  
  272. WARNING:   When using fonts other than Computer Modern look out for 
  273.            font naming problems.  For example, with LucidaBright +
  274.            LucidaNewMath, use the style option [kb] for Karl Berry names 
  275.            or [yy] for the actual font names with `lucidbr' style.
  276.  
  277. WARNING:   When using fonts other than Computer Modern look out for 
  278.            font encoding problems.  LaTeX2e directly supports only
  279.            the old `TeX text' encoding (OT1 -- textext.vec), and the new
  280.            `Cork' encoding (T1 -- tex256.vec).  Use `\input ansiacce' (for
  281.            Windows ANSI) or  `\input stanacce' (for Adobe StandardEncoding).
  282.  
  283. If you have any problems not resolved by the above, please contact Y&Y at:
  284.  
  285. 71172.524@compuserve.com        (email)
  286. (508) 371-2004                  (fax)
  287. (508) 371-3286                  (voice)
  288.  
  289. Y&Y, Inc.
  290. 45 Walden Street                (snail mail)
  291. Concord, MA, 01742, USA
  292.  
  293. --- Copyright 1994 (C) Y&Y, Inc. and the LaTeX3 project --- 
  294. ---              All rights reserved.                --- 
  295.  
  296.  
  297.  
  298.